using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace CreamXStudio.Screens
{
    public partial class EditorControlBase : UserControl
    {
        public event EventHandler ObjectSaved;
        object _data;
        public EditorControlBase()
        {
            InitializeComponent();
        }

        internal virtual void SetData(object data)
        {
            _data = data;
        }
        public void FireSaved()
        {
            if (ObjectSaved != null)
                ObjectSaved(this, EventArgs.Empty);
        }
    }
}
